<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Project Manager</title>

<meta name="description" content="My Project Manager">
<meta name="author" content="Iago Oliveira da Silva">
<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="stylesheet" href="{{ resources }}/css/bootstrap.min.css" />
<link rel="stylesheet" href="{{ resources }}/css/admin.css" />
<link rel="stylesheet" href="{{ resources }}/css/morris.css" />
<link rel="stylesheet" href="{{ resources }}/css/metisMenu.min.css" />
<link rel="stylesheet" href="{{ resources }}/css/datatables.min.css" />
<link rel="stylesheet" href="{{ resources }}/css/font-awesome.css" />

<script src="{{ resources }}/js/jquery.min.js"></script>
<script src="{{ resources }}/js/bootstrap.min.js"></script>
<script src="{{ resources }}/js/raphael.min.js"></script>
<script src="{{ resources }}/js/morris.min.js"></script>
<script src="{{ resources }}/js/datatables.min.js"></script>
<script src="{{ resources }}/js/metisMenu.min.js"></script>
<script src="{{ resources }}/js/admin.js"></script>


</head>

<body>

	<div class="wrapper">

		<!-- Navigation -->
		<nav class="navbar navbar-default navbar-fixed-top" role="navigation"
			style="margin-bottom: 0">
			<div class="navbar-header">
				<button type="button" class="navbar-toggle" data-toggle="collapse"
					data-target=".navbar-collapse">
					<span class="sr-only">Toggle navigation</span> <span
						class="icon-bar"></span> <span class="icon-bar"></span> <span
						class="icon-bar"></span>
				</button>
				<a class="navbar-brand" href="{{ app.urlFor('Dashboard') }}">Project Manager</a>
			</div>
			<!-- /.navbar-header -->


			<div class="navbar-default sidebar" role="navigation">
				<div class="sidebar-nav navbar-collapse">
					<ul class="nav" id="side-menu">
						
						<li>
							<a href="{{ app.urlFor('Dashboard') }}">
								<i class="fa fa-dashboard right-padding-5"></i> Dashboard
							</a>
						</li>
						<li>
							<a href="#">
								<i class="fa fa-users right-padding-5"></i> Users
							</a>
							<ul class="nav nav-second-level">
								<li>
									<a href="{{ app.urlFor('admin-users-list') }}">User List</a>
								</li>
							</ul>
						</li>
						<li>
							<a href="#">
								<i class="fa fa-folder-open right-padding-5"></i> Customers
							</a>
							<ul class="nav nav-second-level">
								<li><a href="{{ app.urlFor('Customers-Customer-List') }}">Customer List</a></li>
								<li><a href="{{ app.urlFor('Customers-User-List') }}">Customer Users</a></li>
							</ul>
						</li>
						
						<li>
							<a href="#">
								<i class="fa fa-cubes right-padding-5"></i> Projects
							</a>
							<ul class="nav nav-second-level">
								<li><a href="{{ app.urlFor('Projects-Project-List') }}">Projects</a></li>
								<li><a href="{{ app.urlFor('Projects-Allocation-Overview') }}">Allocations</a></li>
								<li><a href="{{ app.urlFor('Projects-Products-Overview') }}">Products Overview</a></li>
								<li><a href="{{ app.urlFor('Reports-Projects') }}">Project Reports</a></li>
							</ul>
						</li>
						
						<li>
							<a href="{{ app.urlFor('Settings') }}">
								<i class="fa fa-gears"></i> Settings
							</a>
						</li>
						<li>
							<a href="{{ app.urlFor('AccessController-logout') }}">
								<i class="fa fa-sign-out"></i> Logout
							</a>
						</li>
					</ul>
				</div>
				<!-- /.sidebar-collapse -->
			</div>
			<!-- /.navbar-static-side -->
		</nav>

		<div class="page-wrapper">
			<div class="container-fluid">
			
				<div class="row">
					<div class="col-md-12">
						{% if error %}
						<p class="alert alert-danger">Unnable to process your action.
							Please try again.</p>
						{% endif %} {% if success %}
						<p class="alert alert-success">Action proccessed.</p>

						{% endif %} {% block content %} {% endblock %}
					</div>
				</div>
				
			</div>
		</div>
	</div>
	
</body>

</html>